<template>
    <Grid :col="1" :border="false" padding="5px">
        <GridItem>
            <Button icon="md-add-circle" v-auth:rtype:add type="primary" @click="$emit('add-type')" style="margin-right: 5px">添加资源类型</Button>
            <Button icon="ios-remove-circle-outline" v-auth:rtype:batch:remove type="error" @click="$emit('batch-remove')">批量删除</Button>
        </GridItem>
    </Grid>
</template>

<script setup>
const emits = defineEmits(["add-type", "batch-remove"])
</script>